package com.punai.dataanalysis.srlib.vo;

import com.punai.common.annotation.Excel;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;

public class MaterialMachinePriceVo {
    private String id;
    private String type;
    private String categoryId;
    private String materialId;
    private String recordId;
    private Date uploadDate;
    private MultipartFile uploadFile;
    private Integer countSl = 0;
    private String priceScope;
    private String priceDateScope;
    private String priceAvg;
    @Excel(name = "材料名称", sort = 1)
    private String name;
    @Excel(name = "材料编码", sort = 0)
    private String code;
    @Excel(name = "材料特征", sort = 3)
    private String spec;
    @Excel(name = "材料单位", sort = 2)
    private String unit;
    @Excel(name = "税率", sort = 4)
    private BigDecimal tax;
    @Excel(name = "含税价", sort = 5)
    private BigDecimal priceWithTax;
    @Excel(name = "除税价", sort = 6)
    private BigDecimal priceWithNotTax;
    @Excel(name = "品牌", sort = 7)
    private String brand;
    @Excel(name = "地区", sort = 8)
    private String address;
    @Excel(name = "备注", sort = 9)
    private String remarks;


    private String isDel;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public Date getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(Date uploadDate) {
        this.uploadDate = uploadDate;
    }

    public MultipartFile getUploadFile() {
        return uploadFile;
    }

    public void setUploadFile(MultipartFile uploadFile) {
        this.uploadFile = uploadFile;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMaterialId() {
        return materialId;
    }

    public void setMaterialId(String materialId) {
        this.materialId = materialId;
    }

    public BigDecimal getTax() {
        return tax;
    }

    public void setTax(BigDecimal tax) {
        this.tax = tax;
    }

    public BigDecimal getPriceWithTax() {
        return priceWithTax;
    }

    public void setPriceWithTax(BigDecimal priceWithTax) {
        this.priceWithTax = priceWithTax;
    }

    public BigDecimal getPriceWithNotTax() {
        return priceWithNotTax;
    }

    public void setPriceWithNotTax(BigDecimal priceWithNotTax) {
        this.priceWithNotTax = priceWithNotTax;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public Integer getCountSl() {
        return countSl;
    }

    public void setCountSl(Integer countSl) {
        this.countSl = countSl;
    }

    public String getPriceScope() {
        return priceScope;
    }

    public void setPriceScope(String priceScope) {
        this.priceScope = priceScope;
    }

    public String getPriceDateScope() {
        return priceDateScope;
    }

    public void setPriceDateScope(String priceDateScope) {
        this.priceDateScope = priceDateScope;
    }

    public String getPriceAvg() {
        return priceAvg;
    }

    public void setPriceAvg(String priceAvg) {
        this.priceAvg = priceAvg;
    }

    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }

    public static class ExportMianTable {
        @Excel(name = "材料编码", sort = 0)
        private String code;
        @Excel(name = "材料名称", sort = 1)
        private String name;
        @Excel(name = "材料单位", sort = 2)
        private String unit;
        @Excel(name = "材料特征", sort = 3)
        private String spec;
        @Excel(name = "价格数量", sort = 4)
        private String countSl;
        @Excel(name = "价格范围", sort = 5)
        private String priceScope;
        @Excel(name = "价格时间范围", sort = 6)
        private String priceDateScope;
        @Excel(name = "平均价", sort = 7)
        private String priceAvg;


        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getCountSl() {
            return countSl;
        }

        public void setCountSl(String countSl) {
            this.countSl = countSl;
        }

        public String getPriceScope() {
            return priceScope;
        }

        public void setPriceScope(String priceScope) {
            this.priceScope = priceScope;
        }

        public String getPriceDateScope() {
            return priceDateScope;
        }

        public void setPriceDateScope(String priceDateScope) {
            this.priceDateScope = priceDateScope;
        }

        public String getPriceAvg() {
            return priceAvg;
        }

        public void setPriceAvg(String priceAvg) {
            this.priceAvg = priceAvg;
        }
    }
}
